SftTree/OCX 7.0

SftTreeColumn.CellVAlign Property

Softel vdm, Inc.

Defines the default vertical alignment of cell contents in this column.

Syntax       

Get

VB.NET

Style = object.CellVAlign  As SftTreeVAlignConstants

VB

Style = object.CellVAlign  As SftTreeVAlignConstants

C#.NET

SftTreeVAlignConstants Style = object.CellVAlign;

VC++

enum SftTreeVAlignConstants Style = object->CellVAlign;
enum SftTreeVAlignConstants Style = object->GetCellVAlign();

C

HRESULT object->get_CellVAlign(enum SftTreeVAlignConstants* Style);

Delphi

Style := object.CellVAlign  : TOleEnum;

Put

VB.NET

object.CellVAlign = Style  As SftTreeVAlignConstants

VB

object.CellVAlign = Style  As SftTreeVAlignConstants

C#.NET

SftTreeVAlignConstants object.CellVAlign = Style;

VC++

enum SftTreeVAlignConstants object->CellVAlign = Style;
void object->PutCellVAlign(enum SftTreeVAlignConstants Style);

C

HRESULT object->put_CellVAlign(enum SftTreeVAlignConstants Style);

Delphi

object.CellVAlign := Style  : TOleEnum;

object

A SftTreeColumn object.

Style

Defines the default vertical alignment of cell contents in this column.

Name

Value

Description

valignSftTreeCenter

0

The text is vertically centered.

valignSftTreeTop

1

The text is aligned with the top of the available area.

valignSftTreeBottom

2

The text is aligned with the bottom of the available area.

Comments

The CellVAlign property defines the default vertical alignment of cell contents in this column.

The alignment applies to all cells in the column specified.  Individual cells can override the defined default alignment using the Cell.TextHAlign, Cell.TextVAlign, Cell.ImageHAlign and Cell.ImageVAlign properties.

See Also  SftTreeColumn Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com